package com.example.myFirstProject.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.example.myFirstProject.entity.Role;


public interface RoleMapper {


	int insertRole(Role role);
	
	int deleteRole(@Param("rid")Integer rid);
	
	int updateRole(Role role);
	
	List<Role> selectRole();
	
	Role selectOneRole(@Param("rid")Integer rid);
}
